<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="sf" uri="http://www.springframework.org/tags/form" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Sign Up</title>
</head>
<body>
	<div class="row">
		<h1>Sign Up</h1>
	</div>
	<div class="row">
      <div class="large-12 columns">
        <hr>
      </div>
    </div>
	<div class="row">
		<form action="" method="POST">
			<div class="row">
				<div class="large-4 columns">
					<spring:bind path="account.username">
					<label>Login <sf:input path="account.username"/>
					</label>
					<sf:errors path="account.username" cssClass="error"></sf:errors>
					</spring:bind>
				</div>
			</div>
			<div class="row">
				<div class="large-4 columns">
					<spring:bind path="user.fullName">
					<label>Full Name <sf:input path="user.fullName"/>
					</label>
					<sf:errors path="user.fullName" cssClass="error"></sf:errors>
					</spring:bind>
				</div>
			</div>
			<div class="row">
				<div class="large-4 columns">
					<spring:bind path="user.email">
					<label>Email Address<sf:input path="user.email"/>
					</label>
					<sf:errors path="user.email" cssClass="error"></sf:errors>
					</spring:bind>
				</div>
			</div>
			<div class="row">
				<div class="large-4 columns">
					<spring:bind path="account.password">
					<label>Password <sf:password path="account.password" showPassword="false"/>
					</label>
					<sf:errors path="account.password" cssClass="error"></sf:errors>
					</spring:bind>
				</div>
			</div>
<!-- 			<div class="row"> -->
<!-- 				<div class="large-12 columns"> -->
<!-- 					<label for="password">Password <input -->
<!-- 						type="password" id="password" placeholder="Password" -->
<!-- 						name="password" required=""> -->
<!-- 					</label> -->
<!-- 				</div> -->
<!-- 				<div class="large-12 columns"> -->
<!-- 					<label for="confirmPassword">Confirm Password  -->
<!-- 						<input type="password" id="confirmPassword" -->
<!-- 						placeholder="Confirm" name="confirmPassword" required="" -->
<!-- 						data-equalto="password"> -->
<!-- 					</label> -->
<!-- 				</div> -->
<!-- 			</div> -->
			<div class="row">
				<div class="large-4 columns">
					<input name="commit" type="submit" value="Submit"/>
				</div>
			</div>
		</form>
	</div>
</body>
</html>